import $http from '@/config/requestConfig.js'

export const goods = {
	getPaginate(params, options) {
		return $http.get('goods/paginate', params, options)
			.then(res => {
				return res;
			})
	},
	store(params, options) {
		return $http.post('goods/store', params, options)
	},
	getInfo(params, options) {
		return $http.get('goods/info', params , options)
	}
}
